package com.jframe.app.model;

import com.jframe.BaseModel;

public class TableColumn extends BaseModel{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4390339382256968400L;
	
	private int id;//编号	
	private String columnName;//字段名	
	private String cnName;//显示名
	private String columnType;//存储类型   int、varchar...
	private int columnLength;//字段长度
	private String isNull;//允许空值
	private String isPrimarykey;//字段类型 1:主键，2:常规字段
	private int tableId;//建模编号；
		
	//表单编辑字段
	private String required;//是否必填
	private String validate;//验证方式
	private String formType;//表单类型
	private String storeDate;//缓存数据
	private int viewSeq;//显示顺序
	
	//列表页字段
	private String viewStatus;//显示状态
	private String isActive;//活动情况
	private int colSeq;//列表显示顺序
	private int colWidth;//列宽
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getColumnName() {
		return columnName;
	}
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	public String getCnName() {
		return cnName;
	}
	public void setCnName(String cnName) {
		this.cnName = cnName;
	}
	public String getColumnType() {
		return columnType;
	}
	public void setColumnType(String columnType) {
		this.columnType = columnType;
	}
	public int getColumnLength() {
		return columnLength;
	}
	public void setColumnLength(int columnLength) {
		this.columnLength = columnLength;
	}
	public String getIsNull() {
		return isNull;
	}
	public void setIsNull(String isNull) {
		this.isNull = isNull;
	}
	public String getIsPrimarykey() {
		return isPrimarykey;
	}
	public void setIsPrimarykey(String isPrimarykey) {
		this.isPrimarykey = isPrimarykey;
	}
	public int getTableId() {
		return tableId;
	}
	public void setTableId(int tableId) {
		this.tableId = tableId;
	}
	public String getRequired() {
		return required;
	}
	public void setRequired(String required) {
		this.required = required;
	}
	public String getValidate() {
		return validate;
	}
	public void setValidate(String validate) {
		this.validate = validate;
	}
	public String getFormType() {
		return formType;
	}
	public void setFormType(String formType) {
		this.formType = formType;
	}
	public String getStoreDate() {
		return storeDate;
	}
	public void setStoreDate(String storeDate) {
		this.storeDate = storeDate;
	}
	public int getViewSeq() {
		return viewSeq;
	}
	public void setViewSeq(int viewSeq) {
		this.viewSeq = viewSeq;
	}
	public String getViewStatus() {
		return viewStatus;
	}
	public void setViewStatus(String viewStatus) {
		this.viewStatus = viewStatus;
	}
	public String getIsActive() {
		return isActive;
	}
	public void setIsActive(String isActive) {
		this.isActive = isActive;
	}
	public int getColSeq() {
		return colSeq;
	}
	public void setColSeq(int colSeq) {
		this.colSeq = colSeq;
	}
	public int getColWidth() {
		return colWidth;
	}
	public void setColWidth(int colWidth) {
		this.colWidth = colWidth;
	}
	
}
